You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Copy Method > clVector.Copy Method ([In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Copy Method ([In] TOpenCLMtxVec)

Copy object values.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Copy([In] TOpenCLMtxVec Vec);

Copy each of Vec elements to the calling object. Size and Complex properties of the calling object are set implicitly to match Vec object.

var a,b,c: clVector; begin a.CopyFromArray(TSingleArray.Create(1,2,3,4)); // a = [1,2,3,4] b.Copy(a); // b = [1,2,3,4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!